package oa.web.dao;

import java.util.List;

import oa.web.pojo.Attend;
import oa.web.pojo.Employee;

public interface AttendDao {

	void save(Attend a);
	
	void update(Attend a);
	
	List<Attend> findByEmpAndDutyDay(int empId, String dutyDay);
	
	List<Attend> findByEmpAndDays(int empId, String startDay, String endDay);

	Attend findByEmpAndDutyDayAndCome(int empId, String dutyDay, boolean isCome);
}
